.class public Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;
.super Ljava/lang/RuntimeException;
.source "InvalidBurstlyViewStateException.java"


# static fields
.field private static final serialVersionUID:J = 0x32594700ed6bc522L


# instance fields
.field private mMessage:Ljava/lang/String;

.field private final mPubId:Ljava/lang/String;

.field private final mViewId:Ljava/lang/String;

.field private final mZoneId:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lcom/burstly/lib/ui/BurstlyView;Ljava/lang/String;)V
    .locals 3
    .parameter "view"
    .parameter "message"

    .prologue
    .line 77
    invoke-virtual {p1}, Lcom/burstly/lib/ui/BurstlyView;->getPublisherId()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1}, Lcom/burstly/lib/ui/BurstlyView;->getZoneId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1}, Lcom/burstly/lib/ui/BurstlyView;->getBurstlyViewId()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0, v0, v1, v2}, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 78
    invoke-virtual {p0, p2}, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->setMessage(Ljava/lang/String;)V

    .line 79
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter "pubId"
    .parameter "zoneId"
    .parameter "viewId"

    .prologue
    .line 65
    invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V

    .line 66
    iput-object p1, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mPubId:Ljava/lang/String;

    .line 67
    iput-object p2, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mZoneId:Ljava/lang/String;

    .line 68
    iput-object p3, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mViewId:Ljava/lang/String;

    .line 69
    return-void
.end method


# virtual methods
.method public getMessage()Ljava/lang/String;
    .locals 1

    .prologue
    .line 110
    iget-object v0, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mMessage:Ljava/lang/String;

    return-object v0
.end method

.method public getPubId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 87
    iget-object v0, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mPubId:Ljava/lang/String;

    return-object v0
.end method

.method public getViewId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 105
    iget-object v0, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mViewId:Ljava/lang/String;

    return-object v0
.end method

.method public getZoneId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 96
    iget-object v0, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mZoneId:Ljava/lang/String;

    return-object v0
.end method

.method public setMessage(Ljava/lang/String;)V
    .locals 0
    .parameter "message"

    .prologue
    .line 119
    iput-object p1, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mMessage:Ljava/lang/String;

    .line 120
    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    .prologue
    .line 124
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "InvalidBurstlyViewStateException [pubId="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mPubId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", zoneId="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mZoneId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", viewId="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mViewId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", message="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/exception/InvalidBurstlyViewStateException;->mMessage:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
